import sys
import traceback
import CVolPy

# Press the green button in the gutter to run the script.

class CustomClass:
    def __new__(cls,*args, **kwargs):
        print ("Python 新建类")
        instance = super().__new__(cls)
        return instance;
    def __init__(self):
        print("Python 初始化类对象")
    def printinfo(self, msg):
        print (msg)
        
def GetIntValue():
    return 123
    
def PrintAndGetString(p1, p2, p3, p4, p5):
    print("火山传递过来的多参数：", p1, p2, p3, p4, p5)
    return "你好,火山平台,我是Py的返回文本"
   
def RaiseException(msg):
    raise Exception(msg)
    
def CallVol():
    CVolPy.Call(CVolPy.CVolBackcall, 1, 2399999999999, "你好,我是传递给火山的文本参数", True)
    print ("已经调用火山静态函数,请查看火山输出查看.")